﻿using System.Web.Mvc;
using QianJin.Models;
using System.Globalization;
using QianJin.Views.Shared;
using System;

namespace QianJin.Views
{
    public class HomeViewData : BaseViewData
    {
        public ProductDatabaseCategory[] Categories { get; set; }
        public ProductDatabaseProduct[] LatestProducts { get; set; }
    }

    public class Home : BaseView<HomeViewData>
    {
        public Home()
        {
            
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            var m = (BasicSite)this.Master;
            m.BannerImgName = "index_img.jpg";
            m.NavPos = NavigationPosition.Home;
        }
    }
}